package com.hoyue.interact.bean;

import java.util.Date;

public class Reply {

    //回复id
    private Integer id;
    //回复内容
    private String replycontent;
    //回复时间
    private Date replytime;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    //用户名
    private  String userName;

    public Reply(String replycontent, Date rtime, Integer userName) {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReplycontent() {
        return replycontent;
    }

    public void setReplycontent(String replycontent) {
        this.replycontent = replycontent;
    }

    public Date getReplytime() {
        return replytime;
    }

    public void setReplytime(Date replytime) {
        this.replytime = replytime;
    }

    public Reply(String replycontent, Date rtime){}

    public  Reply(String replycontent, Date replytime, String userName){

        this.id=id;
        this.replycontent=replycontent;
        this.replytime=replytime;
        this.userName=userName;
    }
    public Reply()
    {}



    @Override
    public String toString() {
        return "Reply{" +
                "id=" + id +
                ", replycontent='" + replycontent + '\'' +
                ", replytime=" + replytime +
                ", userName='" + userName + '\'' +
                '}';
    }
}
